package com.example.pojo.aboutUser;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class SystemPermission {

    private Integer id;

    private String permissionName;

    // 权限层级
    private String permissionLevel;

    private String permissionDescription;

    // 权限路径
    private String permissionPath;

    private Boolean permissionState;

    private Boolean isDelete;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill = FieldFill.INSERT)
    private Integer createPerson;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updatePerson;
}
